<?php
/**
 * Created by PhpStorm.
 * User: jocky
 * Date: 21/08/2017
 * Time: 15:53
 */
?>
<div class="row">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_content">
            <div class="x_panel">
                <div class="x_title">
                    <h2><i>审核列表</i></h2>
                    <ul class="nav navbar-right panel_toolbox">
                        <li>
                            <a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                        </li>
                        <li onclick="realNameCheckObj.lists(3,0)">
                            <a href="javascript:void(0)"><i class="fa fa-refresh"></i></a>
                        </li>
                    </ul>
                    <div class="clearfix"></div>
                </div>
                <div class="x_content">
                    <form class="form-inline hide-or-show" id="real_name_check_search_form">
                        <div class="form-group" style="padding: 2px;">
                            <input name='clientSN' class="form-control" placeholder="客户账号/代理账号"/>
                        </div>

                        <div class="form-group" style="padding: 2px;">
                            <select name="update_status" class="form-control">
                                <option value='-1'>状态 - 全部</option>
                                <option value='1' selected>状态 - 末审核</option>
                                <option value='2'>状态 - 已审核</option>
                                <option value='3'>状态 - 已拒绝</option>
                            </select>
                        </div>

                        <div class="form-group" style="padding: 2px;">
                            <button type="button" class="btn btn-sm btn-primary btn-block"
                                    onclick="realNameCheckObj.lists(1,1)">
                                查 询
                            </button>
                        </div>
                    </form>
                    <br/>
                    <div class="table-responsive">
                        <table class="table table-hover table-striped table-bordered" id="real_name_check_table">
                            <thead>
                            <tr>
                                <th>客户编号</th>
                                <th>客户账号</th>
                                <th>姓名</th>
                                <th>提交时间</th>
                                <th>状态</th>
                                <th class="text-center">操作</th>
                            </tr>
                            </thead>
                            <tbody></tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="/js/realNameCheck.js?v=<?= Yii::$app->params['version']; ?>"></script>

<script>
    $(function () {
        realNameCheckObj.lists();
    })
</script>
